When it is necessary to modify the serial port baud rate, it is best to modify it immediately after power-on.
